import React, { Component } from 'react';
import PropTypes from 'prop-types';
import LazyLoad from 'react-lazyload';
import './index.css';

class Application extends Component {

    render() {
        var availWidth = window.screen.availWidth;
        return (
            <div>
                <div className="widget-list image-container">
                            return (
                                    <img style={{ width: availWidth-22 }} src={item} alt="" />

                            );
                </div>
            </div>
        );
    }

}

Application.propTypes = {
    imgList: PropTypes.array.isRequired,
};

export default Application;
